package hanbit;


class Data {
	int x;

}

class ParameterTest {
	public static void main(String[] args) {
		Data d = new Data();
		d.x = 10;

		System.out.println("main() :x =" + d.x);

		change(d.x);
		System.out.println("After change(d.x)");
		System.out.println("main() :x =" + d.x);
	}

	static void change(int x) {
		x = 1000;
		System.out.println("change() : x" + x);
	}
}

/*main() :x =10
change() : x1000
After change(d.x)
main() :x =10
*/